package com.ruoyi.Warehouse.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点记录表对象 inventorychecks
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class Inventorychecks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long checkId;

    /**  */
    @Excel(name = "")
    private Long warehouseId;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /**  */
    @Excel(name = "")
    private String operator;

    /** 盘点总卡牌数 */
    @Excel(name = "盘点总卡牌数")
    private Long totalCards;

    /** 差异数量 */
    @Excel(name = "差异数量")
    private Long discrepancyCount;

    /** 0-进行中,1-已完成 */
    @Excel(name = "0-进行中,1-已完成")
    private Long status;

    /**  */
    @Excel(name = "")
    private String notes;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }

    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }

    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }

    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public void setTotalCards(Long totalCards) 
    {
        this.totalCards = totalCards;
    }

    public Long getTotalCards() 
    {
        return totalCards;
    }

    public void setDiscrepancyCount(Long discrepancyCount) 
    {
        this.discrepancyCount = discrepancyCount;
    }

    public Long getDiscrepancyCount() 
    {
        return discrepancyCount;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("warehouseId", getWarehouseId())
            .append("checkDate", getCheckDate())
            .append("operator", getOperator())
            .append("totalCards", getTotalCards())
            .append("discrepancyCount", getDiscrepancyCount())
            .append("status", getStatus())
            .append("notes", getNotes())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
